package com.briup.interfaces;

import com.briup.entity.Environment;
import com.briup.exception.EnvException;

import java.util.Collection;

/**
 * 服务器端主体功能
 */
public interface Server extends EnvironmentModule{
    /**
     * 接受客户端发送过来的数据集合
     * @return
     * @throws EnvException
     */
    public Collection<Environment> receive() throws EnvException;
}
